All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.sound.SoundException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----quicktime.QTException
                           |
                           +----quicktime.sound.SoundException

public final class SoundException
extends QTException
A General catch all class that is used to signal errors that occur from QT calls


Constructor Index

 o SoundException(int)
Creates an exception with a specific error number
 o SoundException(String)
Creates an exception with a message that could contain information that could be displayed to the user.

Method Index

 o checkError(int)
This method will throw an exception if the incoming err argument is a non-zero value.

Constructors

 o SoundException
 public SoundException(String str)
Creates an exception with a message that could contain information that could be displayed to the user.

Parameters:
str - The message that could be displayed to the user
 o SoundException
 public SoundException(int val)
Creates an exception with a specific error number

Parameters:
val - the error number

Methods

 o checkError
 public static void checkError(int err) throws SoundException
This method will throw an exception if the incoming err argument is a non-zero value.

Parameters:
err - the result or error code if non-zero an exception is thrown

All Packages  Class Hierarchy  This Package  Previous  Next  Index